/*
 * @Author: GGbeng
 * @Date: 2021-12-06 14:55:20
 * @LastEditTime: 2021-12-15 19:07:55
 * @Description:
 * @FilePath: /hisapp/main.js
 */
import App from './App'

// #ifndef VUE3
import Vue from 'vue'
Vue.config.productionTip = false
import uView from 'uview-ui'
import store from './store'
import router from './utils/router.js'
import { pay } from './utils/pay.js'
Vue.use(uView)
Vue.prototype.$store = store
Vue.prototype.$router = router
Vue.prototype.$pay = pay
App.mpType = 'app'
const app = new Vue({
	store,
	...App,
})
app.$mount()
// #endif
// #ifdef VUE3
import { createSSRApp } from 'vue'
export function createApp() {
	const app = createSSRApp(App)
	return {
		app,
	}
}
// #endif
